﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Event.NCL
{
    /// <summary>
    /// 网络事件，终端的状态发生了变动
    /// </summary>
    public class NCLClientStatusChangedEvent : NCLEvent
    {
        public Service.Contract.ClientStatus Status { get; set; }
        public string UserIdentity { get; set; }
        public string UserAccount { get; set; }
        public string UserName { get; set; }

        public NCLClientStatusChangedEvent(string userIdentity,
            string userAccount,
            string userName,
            Service.Contract.ClientStatus status)
        {
            this.UserIdentity = userIdentity;
            this.UserAccount = userAccount;
            this.UserName = userName;
            this.Status = status;
        }
    }
}
